github.com/klauspost/compress/internal/snapref.Writer.ibuf (field)
25 uses
github.com/klauspost/compress/internal/snapref (current package)
encode.go#L140: ibuf: make([]byte, 0, maxBlockSize),
encode.go#L157: ibuf []byte
encode.go#L171: if w.ibuf != nil {
encode.go#L172: w.ibuf = w.ibuf[:0]
encode.go#L179: if w.ibuf == nil {
encode.go#L190: for len(p) > (cap(w.ibuf)-len(w.ibuf)) && w.err == nil {
encode.go#L192: if len(w.ibuf) == 0 {
encode.go#L197: n = copy(w.ibuf[len(w.ibuf):cap(w.ibuf)], p)
encode.go#L198: w.ibuf = w.ibuf[:len(w.ibuf)+n]
encode.go#L207: n := copy(w.ibuf[len(w.ibuf):cap(w.ibuf)], p)
encode.go#L208: w.ibuf = w.ibuf[:len(w.ibuf)+n]
encode.go#L275: if len(w.ibuf) == 0 {
encode.go#L278: w.write(w.ibuf)
encode.go#L279: w.ibuf = w.ibuf[:0]
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |